package cz.zcu.fav.ratdroid.bean;

import java.io.Serializable;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(name = "properties")
public class Properties implements Serializable
{
	private static final long serialVersionUID = 491716646215670040L;
	
	@Element(name = "minimumDuration", required = true)
	public long minimumDuration;
	@Element(name = "maximumDuration", required = true)
	public long maximumDuration;
	@Element(name = "maximumPeriodsCount", required = true)
	private int maximumPeriodsCount;

	public long getMinimumDuration()
	{
		return minimumDuration;
	}

	public void setMinimumDuration(long minimumDuration)
	{
		this.minimumDuration = minimumDuration;
	}

	public long getMaximumDuration()
	{
		return maximumDuration;
	}

	public void setMaximumDuration(long maximumDuration)
	{
		this.maximumDuration = maximumDuration;
	}

	public int getMaximumPeriodsCount()
	{
		return maximumPeriodsCount;
	}

	public void setMaximumPeriodsCount(int maximumPeriodsCount)
	{
		this.maximumPeriodsCount = maximumPeriodsCount;
	}
}
